﻿<!DOCTYPE html>
<html lang="fr">
    <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <meta charset="utf-8" />
        <title>@ViewBag.Title - Mon application ASP.NET MVC</title>
        <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
        <meta name="viewport" content="width=device-width" />
        @Styles.Render("~/Content/css")
        @Scripts.Render("~/bundles/modernizr")
        @Scripts.Render(Links.Scripts.jquery_1_8_2_min_js)
        <script src="@Url.Content(Links.Scripts.fileuploader_js)" type="text/javascript"></script>
    <link href="@Url.Content(Links.Content.fileuploader_css)" rel="stylesheet" type="text/css" media="screen, projection" />
    </head>
    <body>
        <header>
            <div class="content-wrapper">
                <div class="float-left">
                    <p class="site-title"><img src="@Links.Content.images.logoStrawberry_jpg" style="width:200px"/></p>
                </div>
                <div class="float-right">
                    <section id="login">
                        @Html.Partial("_LoginPartial")
                    </section>
                    <nav>                          
                                                                        
                        <ul id="menu">
                        @if (Session.Keys.Count > 0 && Session[Strawberry.Provider.SessionVariable.IDUSER] != "1")
                        {
                            <li>@Html.ActionLink("Nos Messages", MVC.Admin.UserMessages())</li>
                            <li>@Html.ActionLink("Utilisateurs", MVC.Admin.Users())</li>
                            <li>@Html.ActionLink("Articles",MVC.Admin.Articles())</li>
                            
                        }

                        else
                        {
                            <li>@Html.ActionLink("Listes des offres",MVC.Home.JobOffers())</li>                                                   
                            <li>@Html.ActionLink("Contactez-nous", MVC.Home.ContactUs())</li>
                            
                            
                        }                            
                        </ul>
                    </nav>
                </div>
            </div>
        </header>
        <div id="body">
            @RenderSection("featured", required: false)
            <section class="content-wrapper main-content clear-fix">
                @RenderBody()
            </section>
        </div>
        <footer>
            <div class="content-wrapper">
                <div class="float-left">
                    <p>&copy; @DateTime.Now.Year - Mon application ASP.NET MVC</p>
                </div>
            </div>
        </footer>

        @Scripts.Render("~/bundles/jquery")
        @RenderSection("scripts", required: false)
    </body>
</html>
